﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KDSugar.Galaxy.API.SaveOrDraft
{
    /// <summary>
    /// 单据保存字段标识
    /// </summary>
    [AttributeUsage(AttributeTargets.Property)]
    public class SaveFieldTag : Attribute
    {
        /// <summary>
        /// 业务字段标识名称
        /// <para>注意：下级字段请用【.】作分隔，比如【FStockId.FNumber】</para>
        /// </summary>
        public string FieldTagName { get; set; }

        ///// <summary>
        ///// 单据保存字段标识
        ///// </summary>
        ///// <param name="_fieldTagName">
        ///// 业务字段标识名称
        ///// <para>注意：下级字段请用【.】作分隔，比如【FStockId.FNumber】</para>
        ///// </param>
        //public SaveFieldTag(string _fieldTagName)
        //{
        //    FieldTagName = _fieldTagName;
        //}
    }
}
